package com.gz.spring.bean;

public class House {
    private String name;

    public House() {
        System.out.println("House的无参构造器");
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void init() {
        System.out.println("init");
    }
    public void destroy() {
        System.out.println("destroy");
    }
}
